<?php
use yii\helpers\Html ;
?>
<div class="dialogue" style="display:flex">
    <div class="content">
        <p><?= nl2br(Html::encode($message)) ?></p>
        <button onclick="hideDialogue()">关闭</button>
    </div>
</div>
<script type="text/javascript">
    let showLoading = function(){
        $('.loading').css('display', 'flex')
    }
    let showDialogue = function(){
        $('.dialogue').css('display', 'flex')
    }
    let hideLoading = function(){
        $('.loading').hide()
    }
    let hideDialogue = function(){
        $('.dialogue').hide()
    }
</script>

